package day12_coll.demo08_comparable;

public class Student {
    private String name;
    private int sum1;
    private int sum2;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getSum1() {
        return sum1;
    }

    public void setSum1(int sum1) {
        this.sum1 = sum1;
    }

    public int getSum2() {
        return sum2;
    }

    public void setSum2(int sum2) {
        this.sum2 = sum2;
    }

    public Student() {
    }

    public Student(String name, int sum1, int sum2) {
        this.name = name;
        this.sum1 = sum1;
        this.sum2 = sum2;
    }
}
